package com.dao;


import com.model.BType;
import com.model.Page;

import java.util.List;

public interface BTypeDao {
    BType getTypeById(Integer id);
    List<BType> typeList();
    int total(Page page);
    int deleteType(int id);//删除
    int updateType(BType bType);//修改
    Integer insertType(BType bType);//添加

    List<BType> getTypeByFid(int i);

}
